<!DOCTYPE html>
<body>
This tests if the caret position is aligned correctly.
<input id="text" style="line-height: 1; font-size: 10; padding: 1px 0px 1px 1px; width:200px;"/>
<script>
document.getElementById('text').focus();
</script>
</body>
